<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:74:"D:\wwwroot\cms\template/member_style/default/member/index/pcmodel/base.htm";i:1609243498;}*/ ?>
<!--用户基础信息-->
<div class="MainCont">
	<div class="head"><div class="tag fa fa-user">帐号信息</div></div>
    <div class="cont">
    	<div class="MyInfo">
        	<div class="img"><a href="<?php echo get_url('user',['uid'=>$userdb['uid']]); ?>" target="_blank"><img onerror="this.src='/public/static/index/base/noface.gif'" src="<?php echo tempdir($user['icon']); ?>" width="50" /></a></div>
            <div class="info">
            	<div class="base">
                	<div class="name">
					<a href="<?php echo get_url('user',['uid'=>$userdb['uid']]); ?>" target="_blank"><?php echo $user['username']; ?></a> UID:<?php echo $user['uid']; $_result=get_user($info['uid'])['qun_group'];if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rs): $mod = ($i % 2 );++$i;if($rs['type']==4): ?><a href="<?php echo iurl('qun/content/show',['id'=>$rs['aid']]); ?>" title="《<?php echo fun('qun@getByid',$rs['aid'])['title']; ?>》的VIP会员，有效期至：<?php echo !empty($rs['end_time'])?format_time($rs['end_time']):'永久'; ?>" target="_blank" style="background-color:transparent;margin:0 5px;"><img src="<?php echo tempdir(fun('qun@getByid',$rs['aid'])['vip_img']); ?>" onerror="this.src='/public/static/images/vip.png'" height="20" /></a><?php endif; endforeach; endif; else: echo "" ;endif; ?>
					</div>
                    <?php if($user['mob_yz']==0): ?><div class="yzmob"><a href="<?php echo urls('yz/mob'); ?>">验证手机享受更多权限</a></div><?php endif; ?>
                </div>
                <div class="list1" style="word-spacing:2px;">角色：<a href="<?php echo url('member/group/index'); ?>" style="color:orange;font-size:14px;"><?php echo getGroupByid($userdb[groupid]); ?></a><?php echo $userdb['group_endtime']>time()?date('(Y-m-d H:i到期)',$userdb['group_endtime']):''; ?>  注册时间:<?php echo format_time($user['regdate']); ?>
                </div>
                <div class="list2">
                	上次访问时间:<?php echo date("Y-m-d H:i",$user['lastvist']); ?>  上次访问IP:<?php echo $user['lastip']; ?>
                </div>
            </div>
            <div class="adds">
            	<div class="rmb"><a href="<?php echo purl('marketing/rmb/add'); ?>">人民币充值</a></div>
                <div class="zf"><a href="<?php echo purl('marketing/jifen/add'); ?>">积分充值</a></div>
            </div>
        </div>
    </div>
</div>